﻿<UserControl x:Class="personalplaner.databasewizard.views.DatabaseInfoView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:p="clr-namespace:personalplaner.databasewizard.Properties">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition/>
        </Grid.RowDefinitions>

        <TextBlock Text="{x:Static p:Resources.DatabaseInfo}" FontSize="22" FontWeight="Thin" Foreground="#E1000000" Margin="50,-5,0,15"/>

        <Grid Grid.Row="1">
            <TextBlock Text="{x:Static p:Resources.EnterDBName}" FontSize="14" TextWrapping="Wrap" Margin="20,20,80,20"/>
        </Grid>

        <Grid Grid.Row="2" Margin="200,0,60,20">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition />
            </Grid.ColumnDefinitions>

            <TextBlock Text="{x:Static p:Resources.DatabaseName}" Margin="0,0,5,0" />
            <TextBox Grid.Column="1" Text="{Binding SelectedDatabase, UpdateSourceTrigger=PropertyChanged}" />

        </Grid>
    </Grid>
</UserControl>
